package com.lmk;

import java.util.Scanner;

public class Rondom {
    public static void main(String[] args) {
      int a=0;
      int b=0;
      int c=0;
      int f=(a+b+c)/3;
      Scanner sc=new Scanner(System.in);
        System.out.println("请输入与第一个整数");
        a=sc.nextInt();
        System.out.println("请输入与第er个整数");
        b=sc.nextInt();
        System.out.println("请输入与第san个整数");
        c= sc.nextInt();
        if (a>b){
            if(a>c){
                System.out.println(a);
            }else {System.out.println(c);}}
             if (b>c){
                if(b>a){ System.out.println(b);}
            }else {
                 System.out.println(c);
             }

        System.out.println(f);
    }}
